/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.mldn.demo;

/**
 *
 * @author Administrator
 */
public class FinalDemo01 {
    
}

class A{
    private final String INFO = "LXH";
    public void print(){
        //INFO = "Helo";
        System.out.println(INFO);
    }
}

class B extends A{
    @Override
    public void print(){
        
    }
}